package company.maestro;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


/**
 * Activity for the Settings menu
 * @author Maestro
 *
 */
public class SettingsActivity extends Activity
{
	// UI elements on the page
	private Button btnCsvImport;
	
	
	/**
	 * Called when the activity is launched.
	 */
	public void onCreate(Bundle icicle) 
	{
	    super.onCreate(icicle);
	    setContentView(R.layout.settings);
	    
	    btnCsvImport = (Button)findViewById(R.id.btnSettingsCsvImport);
	    
	    
	    // Event handler for the Csv Import button
	    btnCsvImport.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				
					Intent intent = new Intent(SettingsActivity.this, CsvImportActivity.class);
					SettingsActivity.this.startActivity(intent);
			
			}
		});
	    
	    
	}
}
